package org.vacoor.nothing.misc.express.usps.api.rate.v4;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlValue;

/**
 * @author vacoor
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class ShipDate {
    public enum Option {
        PEMSH, HFP
    }

    @XmlAttribute(name = "Option")
    private Option option;
    @XmlValue
    private String value;

    public Option getOption() {
        return option;
    }

    public void setOption(Option option) {
        this.option = option;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
